#ifndef __GB2312_H__
#define __GB2312_H__

#include "Types.h"

#ifdef __cplusplus
extern "C" {
#endif

// Scan Unicode(UCS2) string and convert into BIG5 string
int ut_UnicodeToGB2312(char* szGB2312, const UInt16 *szUnicode, int iBufSize);

// Scan UTF-8 string and convert into GB2312 string
int ut_UTF8ToGB2312(char* szGB2312, const char* szUtf8, int iBufSize);

#ifdef __cplusplus
}
#endif

#endif
